<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>IDA SDK: Load file flags</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">IDA SDK
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="files.html"><span>Header&#160;Files</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">Load file flags</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>Passed as 'neflags' parameter to <a class="el" href="structloader__t.html#a06ce7bcf929568ec0e8860cebf235f32" title="Load file into the database. ">loader_t::load_file</a>. </p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga3f5b9cfa74761b15d12189baa77675f0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga3f5b9cfa74761b15d12189baa77675f0"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_e_f__.html#ga3f5b9cfa74761b15d12189baa77675f0">NEF_SEGS</a>&#160;&#160;&#160;0x0001</td></tr>
<tr class="memdesc:ga3f5b9cfa74761b15d12189baa77675f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create segments. <br /></td></tr>
<tr class="separator:ga3f5b9cfa74761b15d12189baa77675f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga883034000de9c1c1417912e08e2d5160"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga883034000de9c1c1417912e08e2d5160"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_e_f__.html#ga883034000de9c1c1417912e08e2d5160">NEF_RSCS</a>&#160;&#160;&#160;0x0002</td></tr>
<tr class="memdesc:ga883034000de9c1c1417912e08e2d5160"><td class="mdescLeft">&#160;</td><td class="mdescRight">Load resources. <br /></td></tr>
<tr class="separator:ga883034000de9c1c1417912e08e2d5160"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga161760832f74975b7a617194956c0ced"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga161760832f74975b7a617194956c0ced"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_e_f__.html#ga161760832f74975b7a617194956c0ced">NEF_NAME</a>&#160;&#160;&#160;0x0004</td></tr>
<tr class="memdesc:ga161760832f74975b7a617194956c0ced"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rename entries. <br /></td></tr>
<tr class="separator:ga161760832f74975b7a617194956c0ced"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga010750734d8c2621cd74fed09b807440"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga010750734d8c2621cd74fed09b807440"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_e_f__.html#ga010750734d8c2621cd74fed09b807440">NEF_MAN</a>&#160;&#160;&#160;0x0008</td></tr>
<tr class="memdesc:ga010750734d8c2621cd74fed09b807440"><td class="mdescLeft">&#160;</td><td class="mdescRight">Manual load. <br /></td></tr>
<tr class="separator:ga010750734d8c2621cd74fed09b807440"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gace2d7cc234e0cf73e2dba41f6826ea07"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gace2d7cc234e0cf73e2dba41f6826ea07"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_e_f__.html#gace2d7cc234e0cf73e2dba41f6826ea07">NEF_FILL</a>&#160;&#160;&#160;0x0010</td></tr>
<tr class="memdesc:gace2d7cc234e0cf73e2dba41f6826ea07"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fill segment gaps. <br /></td></tr>
<tr class="separator:gace2d7cc234e0cf73e2dba41f6826ea07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2f36ad0759e6b06a8ce703198bebd895"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga2f36ad0759e6b06a8ce703198bebd895"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_e_f__.html#ga2f36ad0759e6b06a8ce703198bebd895">NEF_IMPS</a>&#160;&#160;&#160;0x0020</td></tr>
<tr class="memdesc:ga2f36ad0759e6b06a8ce703198bebd895"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create import segment. <br /></td></tr>
<tr class="separator:ga2f36ad0759e6b06a8ce703198bebd895"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf656881a6f6cf5f94781f6b1daf225df"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_e_f__.html#gaf656881a6f6cf5f94781f6b1daf225df">NEF_FIRST</a>&#160;&#160;&#160;0x0080</td></tr>
<tr class="memdesc:gaf656881a6f6cf5f94781f6b1daf225df"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is the first file loaded.  <a href="#gaf656881a6f6cf5f94781f6b1daf225df">More...</a><br /></td></tr>
<tr class="separator:gaf656881a6f6cf5f94781f6b1daf225df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacfbe5b017d2e57b28012ed4523e6cbe1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_e_f__.html#gacfbe5b017d2e57b28012ed4523e6cbe1">NEF_CODE</a>&#160;&#160;&#160;0x0100</td></tr>
<tr class="memdesc:gacfbe5b017d2e57b28012ed4523e6cbe1"><td class="mdescLeft">&#160;</td><td class="mdescRight">for <a class="el" href="loader_8hpp.html#a5b08728a4c590e639d3eebca204e7194" title="Load a binary file into the database. ">load_binary_file()</a>:  <a href="#gacfbe5b017d2e57b28012ed4523e6cbe1">More...</a><br /></td></tr>
<tr class="separator:gacfbe5b017d2e57b28012ed4523e6cbe1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1e82e9bb7ac0d602cdd774cda222c1a0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_e_f__.html#ga1e82e9bb7ac0d602cdd774cda222c1a0">NEF_RELOAD</a>&#160;&#160;&#160;0x0200</td></tr>
<tr class="memdesc:ga1e82e9bb7ac0d602cdd774cda222c1a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">reload the file at the same place:  <a href="#ga1e82e9bb7ac0d602cdd774cda222c1a0">More...</a><br /></td></tr>
<tr class="separator:ga1e82e9bb7ac0d602cdd774cda222c1a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9b0865b5611c7ed8e07c2e7f86e215aa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga9b0865b5611c7ed8e07c2e7f86e215aa"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_e_f__.html#ga9b0865b5611c7ed8e07c2e7f86e215aa">NEF_FLAT</a>&#160;&#160;&#160;0x0400</td></tr>
<tr class="memdesc:ga9b0865b5611c7ed8e07c2e7f86e215aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Autocreate FLAT group (PE) <br /></td></tr>
<tr class="separator:ga9b0865b5611c7ed8e07c2e7f86e215aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga36e889499ec4dabe90559972ee2d4636"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_e_f__.html#ga36e889499ec4dabe90559972ee2d4636">NEF_MINI</a>&#160;&#160;&#160;0x0800</td></tr>
<tr class="memdesc:ga36e889499ec4dabe90559972ee2d4636"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create mini database (do not copy.  <a href="#ga36e889499ec4dabe90559972ee2d4636">More...</a><br /></td></tr>
<tr class="separator:ga36e889499ec4dabe90559972ee2d4636"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae5a6e5de2195e83575d8270f12e0e60c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gae5a6e5de2195e83575d8270f12e0e60c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_e_f__.html#gae5a6e5de2195e83575d8270f12e0e60c">NEF_LOPT</a>&#160;&#160;&#160;0x1000</td></tr>
<tr class="memdesc:gae5a6e5de2195e83575d8270f12e0e60c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Display additional loader options dialog. <br /></td></tr>
<tr class="separator:gae5a6e5de2195e83575d8270f12e0e60c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae47bae339b2cc06a2ec5fb30dab3adf0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gae47bae339b2cc06a2ec5fb30dab3adf0"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_e_f__.html#gae47bae339b2cc06a2ec5fb30dab3adf0">NEF_LALL</a>&#160;&#160;&#160;0x2000</td></tr>
<tr class="memdesc:gae47bae339b2cc06a2ec5fb30dab3adf0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Load all segments without questions. <br /></td></tr>
<tr class="separator:gae47bae339b2cc06a2ec5fb30dab3adf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="gaf656881a6f6cf5f94781f6b1daf225df"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NEF_FIRST&#160;&#160;&#160;0x0080</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is the first file loaded. </p>
<p>into the database. </p>

</div>
</div>
<a class="anchor" id="gacfbe5b017d2e57b28012ed4523e6cbe1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NEF_CODE&#160;&#160;&#160;0x0100</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>for <a class="el" href="loader_8hpp.html#a5b08728a4c590e639d3eebca204e7194" title="Load a binary file into the database. ">load_binary_file()</a>: </p>
<p>load as a code segment </p>

</div>
</div>
<a class="anchor" id="ga1e82e9bb7ac0d602cdd774cda222c1a0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NEF_RELOAD&#160;&#160;&#160;0x0200</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>reload the file at the same place: </p>
<ul>
<li>don't create segments</li>
<li>don't create fixup info</li>
<li>don't import segments</li>
<li>etc load only the bytes into the base. a loader should have <a class="el" href="group___l_d_r_f__.html#gad84d752ae33d94062ef5dec8f2e82a0b" title="loader recognizes NEF_RELOAD flag ">LDRF_RELOAD</a> bit set </li>
</ul>

</div>
</div>
<a class="anchor" id="ga36e889499ec4dabe90559972ee2d4636"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NEF_MINI&#160;&#160;&#160;0x0800</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create mini database (do not copy. </p>
<p>segment bytes from the input file; use only the file header metadata) </p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
